<?php

session_start();
if(isset($_SESSION['nip'], $_SESSION['username'])){
    unset($_SESSION['username']);
    unset($_SESSION['nip']);
}
session_destroy(); 
header("location: index.php?page=login");
?>
